//
//  NetWorkTool.m
//  8-13宝宝新闻
//
//  Created by LinBrong on 16/8/14.
//  Copyright © 2016年 LinBrong. All rights reserved.
//
//旧:http://api.budejie.com/api/

#import "NetWorkTool.h"

@implementation NetWorkTool

+(instancetype)defaultNetWorkTool{
    
    static NetWorkTool *_instansType;
    
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{

        NSURL *url = [NSURL URLWithString:@"http://d.api.budejie.com"];
        _instansType = [[self alloc]initWithBaseURL:url];
        
    });
    
    return _instansType;
    
}
@end
//穿越http://api.budejie.com/api/api_open.php
//http://api.budejie.com/api/api_open.php?a=list&c=data&order=timewarp